<!doctype html>
<html>
  <head>
    <title>Notifications: Creating notifications should fail when no permission has been granted.</title>
    <script src="../resources/testharness.js"></script>
    <script src="../resources/testharnessreport.js"></script>
  </head>
  <body>
    <script>
      // Tests that Notification.requestPermission() does not cause a crash when
      // no callback has been supplied (which is optional).
      test(function (test) {
          Notification.requestPermission();

      }, 'Notification.requestPermission() without a callback does not crash.');
    </script>
  </body>
</html>